Am 14.04.24 um 22:25 schrieb Denis Maier via ntg-context:
Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> hat am 14.04.2024 22:18 CEST
geschrieben:
On 4/14/24 22:11, Joel via ntg-context wrote:
I have a document with PNG, JPG, and TIFF. When I try using
\externalfigure[filena
using
\externalfigure[filename][frame=on, width=.\textwidth] it displays
JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported
in ConTeXt anymore? --Joel
I don't think tiff has ever be sup
On 4/14/24 22:11, Joel via ntg-context wrote:
I have a document with PNG, JPG, and TIFF. When I try using
\externalfigure[filename][frame=on, width=.\textwidth] it displays
JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported
in ConTeXt anymore? --Joel
I don't think
I have a document with PNG, JPG, and TIFF. When I try using
\externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and
PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt
anymore? --Joel
can get inspired. Everything works as it should:
```
$ docker run --rm -it minidocks/context --luatex --version
resolvers | globbing | confusing filename, name: 'CHANGELOG.md', lower: 'changelog.md', already: 'ChangeLog.md'
mtx-context | redirect luametatex -> luatex: luatex --luao
ation.report
scripts = scripts or { }
scripts.interface = scripts.interface or { }
local flushers = { }
local userinterfaces= { 'en','cs','de','it','nl','ro','fr','pe' }
local messageinterfaces = { 'en','cs','de','it','nl','ro','fr','pe','no' }
local fun
we use another call to the same smile drawing (but in *.svg format)
% the svg file is given by Inkscape (as the smile.pdf, exported through
Inkscape)
\startMPcode
draw lmt_svg [ filename = "smile.svg"]
\stopMPcode
\stopchapter
\startchapter[title={Hans tricky drawing}]
No
st be callable on the command
> > line (which doesn’t work for me on MacOS any more, must investigate…).
> \startMPcode
> draw lmt_svg [ filename = "smile.svg"]
> \stopMPcode
>
> Now gives the attached but it took me a while to figure out what wo
?
\externalfigure[smile]
without any other settings, but inkscape must be callable on the command
line (which doesn’t work for me on MacOS any more, must investigate…).
\startMPcode
draw lmt_svg [ filename = "smile.svg"]
\stopMPcode
Now gives the attached but it took me a while
ode:
>
> \starttext
> \startMPcode
> draw lmt_svg [
> filename = "smile.svg"]
> \stopMPcode
> \stoptext
I can confirm the problem also with the regular image call
\externalfigure
Am 12.03.24 um 14:53 schrieb seyal zavira:
> when i want to put some SVGs in my document the svg does not
render properly here is the code:
>
> \starttext
> \startMPcode
> draw lmt_svg [
> filename = "smile.svg"]
> \stop
>
> https://wiki.contextgarden.net/SVG
>
> Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit :
> > hi all.
> >
> > when i want to put some SVGs in my document the svg does not render
> properly here is the code:
> >
> > \starttext
> > \startMPcode
&g
Hi !
Did you have a look at this :
https://wiki.contextgarden.net/SVG
Le 12/03/2024 à 14:36, seyal.zav...@gmail.com a écrit :
hi all.
when i want to put some SVGs in my document the svg does not render properly
here is the code:
\starttext
\startMPcode
draw lmt_svg [
filename = "smil
hi all.
when i want to put some SVGs in my document the svg does not render properly
here is the code:
\starttext
\startMPcode
draw lmt_svg [
filename = "smile.svg"]
\stopMPcode
\stoptext
also when i look at evenmore manual at page15, for font Abelone-FREE the
gradients has rendere
On 2/23/24 16:01, mf wrote:
> [...]
> A new run is started unless:
> [...]
> - the tuc file is identical to the one of the previous run
Hi Massi,
many thanks for your reply.
If ConTeXt relies on that condition to stop compilation, then it would
be great to know how it is performed to invoke
context --purgeall a b c
"b.tex" is a different file and "c.tex" is a symlink to "a.tex".
I only get the first filename for "a.tex" and the last filename for "c.tex".
Which is the right way to get the second and third filenames when in
"a.pd
On 2/23/24 23:58, Bruce Horrocks wrote:
>> On 23 Feb 2024, at 13:32, Pablo Rodriguez via ntg-context
>> wrote:
>> [...]
>> Is there any way to check if compilation needs any other run?
>> [...]
> Rather than use the wrapup() hook can why not rename the file using
> a second job on the command
Le 26/02/2024 à 18:53, Wolfgang Schuster a écrit :
mtxrun --script fonts --list --all --pattern=gfsdidot*
Wolfgang,
You're right, here below the lack of italics typeface
identifier familyname fontname
filename subfont instances
gfsdidot
x/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:38: in
function <...mtx/tex/texmf-context/tex/context/base/mkxl/node-shp.lmt:37>
(...tail calls...)
El dom, 25 feb 2024 a las 16:41, Andres Conrado Montoya (<
andresconr...@gmail.com>) escribió:
> IntroEstadisticaNP-error.lo
os.remove(exists_pdf) end
>os.rename(pdf_file_name, ("%s_%s-%s.pdf"):format(c_r, tex.jobname,
> sha_pdf))
> end
> )
> \stopluacode
> \stoptext
>
> In short, it adds its SHA256 to the final filename.
>
> Since renames the PDF document in each run, I
rmat(c_r, tex.jobname,
sha_pdf))
end
)
\stopluacode
\stoptext
In short, it adds its SHA256 to the final filename.
Since renames the PDF document in each run, I would like to remove the
output from the previous run.
The table seems not to store the value from a previous run.
I see now that I am c
t adds its SHA256 to the final filename.
Since renames the PDF document in each run, I would like to remove the
output from the previous run.
The table seems not to store the value from a previous run.
I see now that I am creating it again with each run.
Is there any way to check if compilat
ypaths} is modeled after \type{visualizepaths} from
%D \filename{mp-tool}.
def sketchypaths =
let draw = sketchdraw ;
let fill = sketchfill ;
enddef ;
%D Check if \filename{mp-tool} is loaded
if not known context_tool :
let normaldraw = draw;
let normalfill = fill;
def naturalizepaths
ge
> > ```
> >
> > Is there a problem with my installation?
> > Additional output:
> > ```
> > % mtxrun --script fonts --list --all --pattern='fontawesome'
> > identifier familyname fontname
> > fil
output:
```
% mtxrun --script fonts --list --all --pattern='fontawesome'
identifier familyname fontname
filename subfont
instances
fontawesomefontawesome
pattern='fontawesome'
identifier familyname fontname
filename subfont
instances
fontawesomefontawesome fontawesome
FontAwesome.ot
Hi Hans (and anyone else interested in synctex),
On Fri, Dec 8, 2023 at 11:38 (-0400), Jim wrote:
> Hi Hans,
> On Fri, Dec 8, 2023 at 15:03 (+0100), Hans Hagen wrote:
>> On 12/7/2023 7:23 PM, Jim wrote:
>>> Hi,
>>> In mtx-synctex.lua, inside
>>> lo
Hi Hans,
On Fri, Dec 8, 2023 at 15:03 (+0100), Hans Hagen wrote:
> On 12/7/2023 7:23 PM, Jim wrote:
>> Hi,
>> In mtx-synctex.lua, inside
>> local function findlocation(filename,page,xpos,ypos,tolerance)
>> there is the following code:
>> for s=1,tolerance,max
On 12/7/2023 7:23 PM, Jim wrote:
Hi,
In mtx-synctex.lua, inside
local function findlocation(filename,page,xpos,ypos,tolerance)
there is the following code:
for s=1,tolerance,max(tolerance//10,1) do
locate( s, 0) if fi ~= 0 then tl = s ; goto done
Hi,
In mtx-synctex.lua, inside
local function findlocation(filename,page,xpos,ypos,tolerance)
there is the following code:
for s=1,tolerance,max(tolerance//10,1) do
locate( s, 0) if fi ~= 0 then tl = s ; goto done end
locate(-s, 0
is as simple as can be.The filename is test.jpeg, then this runs ok:\starttext\externalfigure[test.jpeg][]\stoptextBut this crashes, see the log:\starttext\externalfigure[test.jpg][]\stoptext
yours sincerelydr. Hans van der Meer
showlayout.log
Description: Binary data
I produce a small magazine where the source files are organised into a product
and component structure.
For each issue, I have a main file with \startproduct and then,
inside that, several \component[filename] statements, one per article. Each
article starts in a standard way, including
. The ‘regular’
design size is accessed by simply using adobesource-nodesignsize.
Questions For the Experts
=
To avoid a gigantic typescript file with a lot of duplication, I
offloaded the font filename calculation to a Lua function (see
attached adobesource.lua). I initially
of duplication, I
offloaded the font filename calculation to a Lua function (see attached
adobesource.lua). I initially wanted to put the Lua code inside the
typescript, but then I had all sorts of weird Lua compilation errors.
The very same code works fine when included in a normal document though
=
To avoid a gigantic typescript file with a lot of duplication, I
offloaded the font filename calculation to a Lua function (see attached
adobesource.lua). I initially wanted to put the Lua code inside the
typescript, but then I had all sorts of weird Lua compilation errors.
The very same code
s. Can anybody else confirm if they can
correctly see the source files when clicking the links?
Sorry, I used the general {{src|filename}} template in the wiki, that
links to the source browser, but only to files in tex/context/base but
not to the modules in tex/context/modules
Not a problem o
s --list --pattern=didot --all
This returned the font:
C:\griego>mtxrun --script fonts --list --pattern=didot --all
identifier familyname fontname filename
subfont instances
gfsdidot gfsdidot gfsdidotregular
c:/windows/fon
without asterisks:
mtxrun --script fonts --list --pattern=didot --all
This returned the font:
C:\griego>mtxrun --script fonts --list --pattern=didot --all
identifier familynamefontname filename
subfont instances
gfsdidot gfsdi
Hi,
I have the example below that uses the three images in the attachment.
For some reason multiple spaces encoded as %20 get merged into a single %20.
The first image () does not get included even though the
name is correct.
The second image () gets included. Filename is correct.
The third
SAMPLE Nothing to do: %s, %s, %s dpi, %s x %s px",
oldname, newname, resolution, width, height))
return
end
local TEXpt = 65536
local inch = 72.27
-- MkIV:
-- local image = img.scan{filename = oldname}
-- LMTX:
local image = figures.getinfo(oldname,1)
image = image.status
ext
\stoptext
530 \startitemize[1][distance=0.5cm]
531 \sym{\in[exercici:proporcionalitat-directa-7]} \startitemize[a]
532 \item $A$ té 80 persones, $B$ té 60 persones, 40 persones són de
$C$, 50 persones són de $D$. Per tant, el subgrup més nombrós és l'$A$.
533 \item $A$ té 315 p
KIV to LMTX. Before with MKIV I
get no errors.
dev.tex
Description: TeX document
return {
["errortype"]=6,
["filename"]="./dev.tex",
["lastcontext"]="\n200 persones en total \\par \\startitemize [a, packed]
\\item 2 de 5 persones estan a $A$ \
else
print(n,s)
end
end
end
check(environment.files[1],environment.files[2])
-- print("TEST 1")
-- check("xxx.log")
-- print("TEST 2")
-- check("xxx.log","xxx.tmp")
---
>mtxrun --script xxx xxx.log
1
day I'll
optimize
%D TIKZ a bit.)
%D
%D All these t-* modules in the tikz distribution make no sense as we can just
load
%D them here which is way cleaner. There is also some mkii filename mapping
going on
%D that is not needed on todays systems (windows has no 8.3 limitation and on
unix
%D tds fin
\starttikzpicture
65\node[anchor=south west,inner sep=0] at (0,0)
{\externalfigure[figs/proporcionalitat-geometrica-figs-Australia-OSM.png][scale=600]};
66\draw[help lines, xstep=1,ystep=1] (0,0) grid (9,9);
67%\foreach \x in {0,1,...,9} { \node [anchor=nort
-downsample.lua
local function sample_down_pdf(oldname, newname, resolution)
print("DOWNSAMPLE sample_down " .. oldname .. " to " .. newname)
-- MkIV:
-- local image = img.scan{filename = oldname}
-- LMTX:
local image = figures.getinfo(
{filename = figures.current().status.fullname}
if I understand this right, "img" isn’t valid anymore:
"""
token call, execute: grph-imagelib.lua:37: attempt to index a nil
value (global 'img')
"""
I’d like to know the pixel size and if possible also the
On 7/11/2023 2:22 PM, Henning Hraban Ramm wrote:
What’s the current approved way to get image properties within a Lua
function?
very old:
local pic = figures.getinfo(figures.current().status.fullname)
used to work in 2019:
local pic = img.scan{filename = figures.current().status.fullname
What’s the current approved way to get image properties within a Lua
function?
very old:
local pic = figures.getinfo(figures.current().status.fullname)
used to work in 2019:
local pic = img.scan{filename = figures.current().status.fullname}
if I understand this right, "img" i
, this is how I'm using it:
lpdf.registerfontmethod("rawpdf", function(filename, details)
return
details.properties.indexdata[1],
0.001,
function(char)
return char.code, char.width / t3_to_sp
end,
func
realpage 1, userpage 1, subpage 1
close source> level 1, order 2, name './atestinlucida-OTF-99.mkiv'
backend > fonts > width units in 'VXLOQV+LucidaBright' are 2048,
forcing 1000 instead
system > start used files
system > text: atestinlucida-OTF-99
sy
>>> \setuplanguage[en][patterns={en}]\mainlanguage[en]
>>>
>>> \starttext
>>> \setupindenting[none]
>>> \setupindenting[no]
>>> {\bf The quick brown fox jumped over the lazy dog}
>>>
>>> \input knuth
>>> \stoptext
>
gerben@hermione% mtxrun --script fonts --list --all --pattern='*abin*'
identifier familyname fontname filename
subfont instances
cabinitalic cabin cabinitalic
/Users/gerben/Library/Fonts/Cabin-
d it in LMTX and it has been installed:
>
> gerben@hermione% mtxrun --script fonts --list --all --pattern='*abin*'
> identifier familyname fontname filename
> subfont instances
>
> cab
s been installed:
gerben@hermione% mtxrun --script fonts --list --all --pattern='*abin*'
identifier familyname fontname filename
subfont instances
cabinitalic cabincabinitalic
/Users/
directory.
This was asked 10 years ago:
`tex.stackexchange.com/questions/67928/how-to-set-output-directory-in-context-command`
The answer given then was to use:
`context filename --result=output-directory/filename`
But this doesn't work now. When I compile my .tex file, I get a message:
`results
7928/how-to-set-output-directory-in-context-command`
>>
>> The answer given then was to use:
>> `context filename --result=output-directory/filename`
>>
>> But this doesn't work now. When I compile my .tex file, I get a message:
>> `results are to be on the running path,
/how-to-set-output-directory-in-context-command`
>
> The answer given then was to use:
> `context filename --result=output-directory/filename`
>
> But this doesn't work now. When I compile my .tex file, I get a message:
> `results are to be on the running path, not on 'output-directory
`
The answer given then was to use:
`context filename --result=output-directory/filename`
But this doesn't work now. When I compile my .tex file, I get a message:
`results are to be on the running path, not on 'output-directory', ignoring
--result`
I've looked in the wiki:
`https
Hi,
> Any ideas on how to force that setting without modifying grph-con.lua?
This seems to work:
\startluacode
function figures.converters.svg.pdf(oldname, newname)
figures.programs.inkscape.runner {
format = "filename",
resolution = "600
of outdated information; module lists still
need work)
mtxrun --script install-modules --install --all
this generates an error:
resolvers | globbing | confusing filename, name:
'CHANGELOG', lower:
'changelog', already: 'ChangeLog'
mtx-install-modules | unknown subdirectory 'texmf-context
| globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
mtx-install-modules | unknown subdirectory 'texmf-context'
___
If your question is of interest to others as well, please add
| globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
mtx-install-modules | unknown subdirectory 'texmf-context'
___
If your question is of interest to others as well, please add
s.lua’
>>
>>
>> Best regards: Otared
>>
>>> On 7 May 2023, at 16:59, Hans Hagen via ntg-context
>>> wrote:
>>>
>>> On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
>>>> $ mtxrun --script install-modules --list
&
resolvers | globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
context
> > wrote:
> >
> > On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
> > > $ mtxrun --script install-modules --list
> > > resolvers | globbing | confusing filename, name: 'CHANGELOG', lower:
> > > 'changelog', already: 'ChangeLo
> On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
>> $ mtxrun --script install-modules --list
>> resolvers | globbing | confusing filename, name: 'CHANGELOG', lower:
>> 'changelog', already: 'ChangeLog'
>> mtxrun | unknown script 'inst
On 5/7/2023 4:43 PM, Floris van Manen via ntg-context wrote:
$ mtxrun --script install-modules --list
resolvers | globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
mtxrun | unknown script 'install-modules.lua' or
'mtx-install-modules.lua
$ mtxrun --script install-modules --list
resolvers | globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
mtxrun | unknown script 'install-modules.lua' or
'mtx-install-modules.lua
};
\addlegendentry{Al6061-T6}
\addplot[mark=none,color=orange] plot file {nylon.dat};
\addlegendentry{nylon}
\stopaxis
\stoptikzpicture
\stoptext
i get a fatal error:
resolvers | globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
resolvers
ical
reasons
%D per 2021 we split the module for \MKIV\ and \LMTX. (Maybe some day I'll
optimize
%D TIKZ a bit.)
%D
%D All these t-* modules in the tikz distribution make no sense as we can just
load
%D them here which is way cleaner. There is also some mkii filename mapping
going o
. The output for Roboto Flex is as follows:
identifier familyname fontname
filename subfont instances
robotoflex robotoflex robotoflexregular
robotoflex.ttf thin extralight light regular medium semibold
familyname fontname
filename subfont instances
robotoflex robotoflex robotoflexregular
robotoflex.ttf thin extralight light regular medium semibold
bold extrabold black extrablack thinitalic extralightitalic lightitalic
italic
..}', say '\def\cs{...}'. I've inserted an
inaccessible control sequence so that your definition will be completed
without
mixing me up too badly.
mtx-context | fatal error: return code: 1
> During the texlive package, I get this error:
>
> return {
>
>
> ["filename"]=&qu
On 3/30/2023 8:52 PM, Xavier B. via ntg-context wrote:
Hi,
I use artix linux (a fork of arch with systemd alternative init systems).
During the texlive package, I get this error:
return {
["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex&qu
rtix linux (a fork of arch with systemd alternative init systems).
> During the texlive package, I get this error:
>
> return {
>
> ["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex",
> ["
Hi,
I use artix linux (a fork of arch with systemd alternative init systems).
During the texlive package, I get this error:
return {
["filename"]="/usr/share/texmf-dist/tex/generic/pgf/basiclayer/pgfcorepoints.code.tex",
["lastcontext"]="\n \n \\inacces
aving the same way?
> >
> > Answer: no.
>
> no surprise because it doesn't use the same setup
>
> what cache path does
>
> mtxrun --variables
>
> report
>
> Hans
>
>
Thanks a lot Hans! Of course your sugggestion by using otf rather than goin
weight stylewidthvariant fontname
filename subfont fontweight
notoserifcjkhk normal normal normal normal
notoserifcjkhkregular NotoSerifCJK-Regular.ttc 5 conflict:
Hi,
Following the instruction from :
https://wiki.contextgarden.net/Use_the_fonts_you_want
mtxrun --script font --list --file -pattern=*casual*
gives :
familyname weight style width variant fontname
filename subfont fontweight
ced"
then
e[#e+1] = pdfstring(tag)
e[#e+1] = reference -- already a reference
f[#f+1] = reference -- collect all file description references
else
-- messy spec ... when annot not in named else twice in menu
list acrobat
report_attachment("unreferenced file, tag %a",tag)
elseif referenced[tag] == "hidden" or referenced[tag] == "forced"
then
e[#e+1] = pdfstring(tag)
e[#e+1] = reference -- already a reference
f[#f+1] = reference --
the latest update broke my installation on linux.
How can I revert to a working version?
.F
$ context context18.tex
resolvers | globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
resolvers | formats | executing runner 'run luametatex
\getbuffer[b] \stop
\stoptext
$ context context\ 17.tex
resolvers | globbing | confusing filename, name: 'CHANGELOG',
lower: 'changelog', already: 'ChangeLog'
resolvers | formats | executing runner 'run luametatex format':
/home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname
ontext wrote:
> Hi Marco,
>
> If I create a file named « bar.txt » then
>
> \starttext
> Nothing to say\dots
>
> \typefile{bar.txt}
>
> \stoptext
>
> gives the correct result. However ConTeXt seems to dislike \typefile{bar}
> when the filename has no suff
Xt seems to dislike \typefile{bar} when the filename
> has no suffix.
Is there a way around it? Traditionally there are plenty of files
without suffix (e.g. README, Makefile, configure, etc.)
Marco
___
If your quest
Hi Marco,
If I create a file named « bar.txt » then
\starttext
Nothing to say\dots
\typefile{bar.txt}
\stoptext
gives the correct result. However ConTeXt seems to dislike \typefile{bar} when
the filename has no suffix.
Best regards : Otared
> On 17 Dec 2022, at 16:06, Marco Patzer via
up I set OSFONTDIR to
include this directory and run `mtxrun --script fonts --reload --force`
3. `mtxrun --script fonts --list --all --pattern=Robo` yields:
identifier familyname fontname filename
subfont instances
roboto
| www.pragma-ade.nl | www.pragma-pod.nl
-
\startluacode
document.foundsection = { first = 0, last = 0 }
function document.loadsection(filename,reference)
local data = job.loadother(file.addsuffix(filename,&quo
fonts --list --info --file LibertinusSerif-Regular.otf
mtx-fonts |
mtx-fonts | mapping : 1
mtx-fonts | fontname : libertinusserifregular
mtx-fonts | fullname : libertinusserifregular
mtx-fonts | filename : LibertinusSerif-Regular.otf
mtx-fonts | family
On Mon, 31 Oct 2022, Joel via ntg-context wrote:
> I found what it was, a % in the text preventing a \stopitemize to close a
> list. Thanks! --Joel
mtxrun concheck filename
is very useful in such situations.
ut I assume the printer can do that
>> fairly easily.
>
> I don't think that there's any way to do this from within a document
> run, so I think that you'll need to use an external program.
>
>> If not, is there a recommended external program that can do it?
>
> But, you c
am.
> If not, is there a recommended external program that can do it?
But, you can use ConTeXt as the external program here.
Save as "imposition.cld":
local filename = document.getargument("filename")
local pdf = lpdf.epdf.image.open(filename)
local pages = pdf.nofpa
module [1] which is MkII only and
no longer part of the ConTeXt distribution. The filename of the module
is s-ptj-01.mkii when you're looking for the source.
I find this one hard to replicate. What is the font type that was used
for this document ?
The document uses TeX Gyre Pagella as main
On 9/26/2022 11:04 PM, Angel M Alganza via ntg-context wrote:
On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote:
mtxrun --script pdf --info oeps.pdf
$ mtxrun --script pdf --info a6.pdf
mtx-pdf | filename > a6.pdf
mtx-pdf | pdf vers
On Mon, Sep 26, 2022 at 10:44:55PM +0200, Hans Hagen via ntg-context wrote:
mtxrun --script pdf --info oeps.pdf
$ mtxrun --script pdf --info a6.pdf
mtx-pdf | filename > a6.pdf
mtx-pdf | pdf version > 1.7
mtx-pdf | major version >
=*lato*
identifier familyname fontname filename
subfont instances
latoblacklato latoblackLato-Bla.ttf
latoblackitalic lato latoblackitalic Lato-BlackItalic.ttf
latobold lato latobold Lato
rmat("DOWNSAMPLE Nothing to do: %s, %s, %s dpi, %s x %s px",
oldname, newname, resolution, width, height))
return
end
local TEXpt = 65536
local inch = 72.27
-- MkIV:
-- local image = img.scan{filename = oldname}
-- LMTX:
local image = figures.getinfo(oldname,1)
on == "" then -- or (not width and not height) then
print(format("DOWNSAMPLE Nothing to do: %s, %s, %s dpi, %s x %s px",
oldname, newname, resolution, width, height))
return
end
local TEXpt = 65536
local inch = 72.27
-- MkIV:
-- local image = img.scan{filename = old
gt; >
> > ```
> > local t1 = { 1, 2 }
> > local t2 = { 8, 9 }
> >
> > local m1 = {}
> > table.merge(m1,t1, t2)
> > table.print(m1)
> >
> > local m2 = table.merged(t1, t2)
> > table.print(m2)
> > ```
> >
> > Process
1 - 100 of 1623 matches
Mail list logo